package com.shiguiwu.springboot3;

import java.util.Calendar;
import java.util.concurrent.TimeUnit;

/**
 * @description: 测试
 * @author: stone
 * @date: Created by 2023/7/15 18:36
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springboot3.test
 */
public class DemoTests {


    public static void main(String[] args) throws InterruptedException {
        for (int i = 0; i < 1000; i++) {
            System.out.println(Calendar.getInstance().getTime() + ":" + i);
            TimeUnit.SECONDS.sleep(1);
        }
    }
}
